home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / libsane.preinst < prev    next >
Text File  |  2008-05-07  |  391b  |  13 lines

  1. #!/bin/sh
  2. set -e
  3.  
  4. ## Transition from the old-style udev setup to the old-style dh_installudev setup
  5. ## Then dh_installudev will take care of the transition to the new dh_installudev setup
  6. if [ "$1" = install ] || [ "$1" = upgrade ]; then
  7.     if [ -e "/etc/udev/rules.d/025_libsane.rules" ]; then
  8.         mv /etc/udev/rules.d/025_libsane.rules /etc/udev/rules.d/z60_libsane.rules
  9.     fi
  10. fi
  11.  
  12.  
  13.